package com.cesce.batch.cobros.dominio;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.springframework.format.annotation.DateTimeFormat;

@RooJavaBean
@RooToString
@RooEntity(identifierField = "IDCOMUNICADO", table = "COBCOMUNICADOS")
public class Comunicados {

    private Long idRegistro;

    private Long idEstado;

    private String spto;

    private String nif;

    private String codigoCesce;

    private String importe;

    private String fechaDeCobro;

    private String numFactura;

    private String lineaOriginal;

    private Double valorImporte;

    private String sptoHost;

    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(style = "S-")
    private Date fechaUltimaActu;

    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(style = "S-")
    private Date fechaDeCobroDate;

    private Long idMotivo;

    private Long divisa;
}
